{extend name="ashippingguide/Public/base" /}
{block name="container"}
<!-- 标题 -->
<div class="page-heade">
    <h2 class="title_color text-center">导购岗位管理数据导入(页面缺失，后补)</h2>
</div>
<!-- 标题 -->
<table class="table table-bordered" style="margin: 0">
    <tr>
        <td>
            <form id="form_id" action="{:url('ashippingguide/uploadPost')}" enctype="multipart/form-data" method="post" target="target_iframe">
                选择导入文件：<input type="file" name="file" id="exampleInputFile" style="display: inline-block;" class="validate[required]"> <span class="lr_5"></span><button class="btn-info btn" type="submit">导入</button>
            </form>
            <iframe name="target_iframe" style="display:none"></iframe>
        </td>
    </tr>
    <tr>
        <td>
            <p class="colorRed">温馨提示：如果导入过程中出现未满足销路通系统要求数据，则整份导入资料都将无法导入，必须按照销路通系统给出的信息提示修改导入资料后再重新导入。</p>
            <p class="padding-10 font-bold">Excel文件导入注意事项：</p>
            <p class="padding-10"><span class="font-bold">Excel文件导入格式：</span><a href="{:url('Ashippingmanagement/downFile')}?path=/static/fy/postguide.xls&fileName=导购岗位数据导入表格格式">导购岗位数据导入表格格式.xls</a><span class="colorRed">注：Excel中标记为红色底色的列为必填项。</span></p>
        </td>
    </tr>
</table>
<script>
    $('#form_id').validationEngine('attach', {
        promptPosition: 'bottomRight'
    });
    function back() {
        history.go(-1)
    }
</script>
{/block}
